//
//  GQCaculator.m
//  test
//
//  Created by kepuG on 16/10/11.
//  Copyright © 2016年 text. All rights reserved.
//



#import "GQCaculator.h"
#import "GQCaculatorMaker.h"

@implementation NSObject(GQCaculator)

+(int)gqCaculatorMaker:(void(^)(GQCaculatorMaker *maker))block{
    
    GQCaculatorMaker *maker = [[GQCaculatorMaker alloc] init];
    block(maker);
    return maker.result;
}

@end
